package sprinklerbee.model;

import java.util.*;

public class Scheduler extends Observable {

	private int id;
	private String starttime;
	private String endtime;
	private String description;
	private String status;
	private Date createtime;
	private Sprinkler sprinkler;
	private boolean mon;
	private boolean tue;
	private boolean wed;
	private boolean thur;
	private boolean fri;
	private boolean sat;
	private boolean sun;

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getStarttime() {
		return starttime;
	}

	public void setStarttime(String starttime) {
		this.starttime = starttime;
	}

	public String getEndtime() {
		return endtime;
	}

	public void setEndtime(String endtime) {
		this.endtime = endtime;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public Date getCreatetime() {
		return createtime;
	}

	public void setCreatetime(Date createtime) {
		this.createtime = createtime;
	}

	public Sprinkler getSprinkler() {
		return sprinkler;
	}

	public void setSprinkler(Sprinkler sprinkler) {
		
		this.sprinkler = sprinkler;
	}

	public boolean isMon() {
		return mon;
	}

	public void setMon(boolean mon) {
		this.mon = mon;
	}

	public boolean isTue() {
		return tue;
	}

	public void setTue(boolean tue) {
		this.tue = tue;
	}

	public boolean isWed() {
		return wed;
	}

	public void setWed(boolean wed) {
		this.wed = wed;
	}

	public boolean isThur() {
		return thur;
	}

	public void setThur(boolean thur) {
		this.thur = thur;
	}

	public boolean isFri() {
		return fri;
	}

	public void setFri(boolean fri) {
		this.fri = fri;
	}

	public boolean isSat() {
		return sat;
	}

	public void setSat(boolean sat) {
		this.sat = sat;
	}

	public boolean isSun() {
		return sun;
	}

	public void setSun(boolean sun) {
		this.sun = sun;
	}

	public Scheduler(int id) {
		super();
		this.id = id;
	}

	public Scheduler() {
		super();
	}
	
	
	

}